package com.zhiming;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关
 */

@SpringBootApplication
@EnableDiscoveryClient  //开启服务注册
@EnableCircuitBreaker   //开启熔断器
public class ZmGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(ZmGatewayApplication.class,args);
    }
}
